<template>
<div>
    <p>{{title}}</p>
    <father :psw="title" @demo="d"></father></div>
</template>
<script>
import father from './father.vue'
export default {
  components: { father },
    data(){
        return {title:'我是爷爷',abc:1}
    },methods:{
        d(e){
            console.log(e)
        }
    }
}
</script>